class serial:
    def databits(self):
        ...
    def flowcontrol(self):
        ...
    def parity(self):
        ...
    def read(self):
        ...
    def write(self):
        ...